Gemini Homework Help Prompt Template
You understand how to solve the problem yourself, because the AI finds where your reasoning went wrong and guides you with hints instead of handing over the answer. This version is set up for Gemini: attach files or images the prompt refers to, or paste the text below the instructions. Below you'll find the prompt, how to run it in Gemini, a worked example and answers to common questions.
Help me with a homework problem. Guide me to the answer. Do not just give it to me. ## The problem Subject and level: [e.g. high school physics] Problem: [paste the exact problem] ## My attempt [show your work, even if it is wrong or incomplete] ## Where I am stuck [e.g. I do not know which formula to use, my answer does not match the book] ## Instructions - First, tell me whether my approach is on the right track. - If I made a mistake, point to the step where it happened and ask me a question that helps me see it. - Give one hint at a time. Wait for my reply before giving the next hint. - Explain the concept behind the step I am stuck on in simple terms. - Only show the full solution if I ask for it after trying again. ## Output format 1. What I did right 2. The step where things went wrong 3. One hint or guiding question 4. The idea behind this step, in two or three sentences Context - Reference material: [paste it below, or attach the file]
How to use this prompt
- 1
Open Gemini
Start a new chat in Gemini and paste the prompt.
- 2
Give it context
Attach files or images the prompt refers to, or paste the text below the instructions.
- 3
Review and iterate
Reply in the same chat to refine the result.
- 4
Save what you repeat
For a prompt you run often, save it as a Gem with custom instructions.
Working in Gemini
- •Gemini accepts images and files as well as text, so attach a screenshot when the task is visual.
- •Ask for the exact output format; otherwise answers tend to come with extra headings and summaries.
- •If you use Google Docs or Sheets, ask for output you can paste straight in, such as a table.
Worked example
What you give it
Subject: high school physics. Problem: A car travels 150 km in 2.5 hours. What is its average speed in meters per second? My attempt: 150 / 2.5 = 60 km/h. Then 60 x 3.6 = 216 m/s. Stuck: 216 m/s seems way too fast for a car.
What a good answer looks like (shortened)
1. What you did right: 150 / 2.5 = 60 km/h is correct, and you were right to be suspicious of 216 m/s. 2. Where it went wrong: the conversion from km/h to m/s. 3. Hint: one kilometer is 1,000 meters and one hour is 3,600 seconds. In one second, does a car going 60 km/h travel more or less than 60 meters? 4. The idea: converting units means multiplying by a fraction equal to 1, like 1,000 m per 1 km and 1 h per 3,600 s. If you write the units next to the numbers, they cancel and show you whether to multiply or divide by 3.6.
Tips for better results
- •Always fill in My attempt, even with a wrong answer. The mistake is the most useful thing you can give the AI.
- •Answer each hint before asking for the next one. The "wait for my reply" instruction only works if you reply.
- •Ask for the exact output format; otherwise answers tend to come with extra headings and summaries.
- •Avoid this: Pasting only the problem and asking for the answer, which gets the homework done but leaves you stuck on the test.
Get the free prompt pack
Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.
Variations
Check my answer
Replace Where I am stuck with: I think my answer is [answer]. Tell me only whether it is right, and if not, which step to recheck.
Similar problem
Add this line to Instructions: After I solve it, give me one similar problem with different numbers to try on my own.
Parent helping a child
Change the audience: I am a parent helping my [grade] child. Explain the method the way it is usually taught at this grade so I do not confuse them.
Save it as a Retext snippet
Retext is a free text expander for Mac. Save this prompt once, then type ;hwhelp in any app (ChatGPT, Claude, your editor, a browser tab) and the full prompt is pasted in.
- Click Add to Retext. The prompt installs as a snippet with the trigger ;hwhelp.
- Change the trigger in Retext if you prefer a different one.
- Type the trigger wherever you want the prompt, then fill in the brackets.
Frequently asked questions
Is using AI for homework cheating?
It depends on your school and teacher's rules, so check them. Using AI to get hints and explanations so you can solve problems yourself is very different from submitting an answer it wrote.
Can I save this prompt in Gemini?
Yes, as a Gem with the prompt as its instructions. A Retext snippet also works if you switch between Gemini and other tools.
What if the AI gives a wrong explanation?
It can make mistakes, especially in multi-step math. Check the final answer against your textbook or teacher, and ask it to show each step if something does not add up.
How do I reuse this prompt without copying it every time?
Click Add to Retext to save it as a snippet. Then type ;hwhelp in any Mac app, including your AI tool, and the full prompt is pasted in.
Related Templates
Get the free prompt pack
Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.