Learn the integral of 1 over square root of x with a clean interview-style explanation, the exponent rewrite, the power rule, a quick derivative check, and the.
You already know the answer. The problem is that knowing it and saying it cleanly under pressure are two completely different skills.
The integral of 1 over square root of x is 2√x + C — and most students who've done any calculus can tell you that. What they can't always do is walk an interviewer through the logic in twenty seconds without trailing off, second-guessing the sign, or reaching for scratch paper they don't have. That gap, between knowing the formula and being able to explain it, is what this piece is about.
The 20-Second Interview Answer You Should Say First
What a Strong Spoken Answer Sounds Like
Here is the script. Internalize the logic, then practice saying it aloud:
"I'd start by rewriting 1 over root x as x to the negative one-half. That puts it in a form where the power rule applies directly. Adding one to the exponent gives one-half, and then I divide by that new exponent — one-half — which is the same as multiplying by two. So the antiderivative is 2x to the one-half, which simplifies to 2 root x plus C."
That's it. Under twenty seconds at a normal speaking pace. Notice what it does: it names the rewrite, invokes the rule by name, traces the arithmetic, and lands on the clean form. It doesn't skip steps in a way that sounds evasive, and it doesn't over-explain in a way that sounds uncertain.
Why the Short Answer Works Under Pressure
A full derivation from first principles is not what an interviewer wants here. They want to know whether you understand the mechanism. The script above demonstrates three things simultaneously: you know that square roots can be expressed as fractional exponents, you know the power rule and can apply it, and you can simplify the result into a form a human being can read. That's the whole competency being tested. Drowning the listener in intermediate algebra doesn't add signal — it dilutes it. A clean, confident twenty-second answer does more work than three minutes of hedged arithmetic.
Why the Integral of 1 over Square Root of x Becomes x^(-1/2)
The Denominator Trick That Stops Feeling Mysterious
The rewrite 1/√x = x^(-1/2) is not a trick. It is two standard exponent rules applied in sequence. First: a square root is the same as raising to the power of one-half, so √x = x^(1/2). Second: a term in the denominator is the same as that term raised to a negative exponent, so 1/x^(1/2) = x^(-1/2). Neither step is exotic — both are covered in any precalculus course. What makes people hesitate is that they see a square root in a denominator and treat it as a special case requiring special handling, when it's just two notation changes stacked on top of each other.
What This Looks Like in Practice
Written out explicitly:
1/√x = 1/x^(1/2) = x^(-1/2)
That's the entire manipulation. Once you see the expression as x^(-1/2), the integral of 1 over root x is no longer a question about square roots — it's a straightforward power rule problem. The square root was never the hard part; it was just the form hiding the structure.
The most common mistake at this exact step: students rewrite √x as x^(1/2) correctly, but then forget to carry the negative when moving it out of the denominator. They write x^(1/2) instead of x^(-1/2) and then proceed to integrate the wrong expression entirely. The entire solution falls apart from that single dropped sign. If you're going to double-check anything before moving forward, check the sign on the exponent.
The Power Rule Is the Whole Game Here
Why the Exponent Changes the Problem from Scary to Routine
The power rule for integration says: ∫x^n dx = x^(n+1)/(n+1) + C, provided n ≠ -1. That's it. Once 1/√x is expressed as x^(-1/2), this problem becomes a direct application of that rule with n = -1/2. There is no substitution needed, no trigonometric identity, no special technique. The reason students sometimes panic about this integral is that the square root form obscures the structure. The moment you rewrite it as x^(-1/2), you're looking at a monomial, and monomials integrate by the power rule every time.
What This Looks Like in Practice
Step by step:
- Start: ∫x^(-1/2) dx
- Add 1 to the exponent: -1/2 + 1 = 1/2
- Divide by the new exponent: x^(1/2) ÷ (1/2)
- Dividing by 1/2 is multiplying by 2: result is 2x^(1/2)
- Add the constant of integration: 2x^(1/2) + C
The coefficient 2 comes entirely from step 4. Dividing by the new exponent of 1/2 produces that factor of 2 — it is not a number you look up or memorize separately. This is the part people most often remember backward: they sometimes multiply by the new exponent instead of dividing by it, which would give (1/2)x^(1/2) instead of 2x^(1/2). The rule is divide, not multiply. The coefficient is a consequence of the arithmetic, not a decoration.
Why the Answer Is 2√x + C, and Not Just a Random Formula
The Constant of Integration Is Not Decoration
The antiderivative of a function is not a single expression — it's a family of expressions that differ by a constant. When you differentiate 2√x + 7 or 2√x - 3, you get the same thing: 1/√x. Every one of those functions is a valid antiderivative. The +C notation captures that entire family in one symbol. Leaving it off doesn't make the algebra wrong in the mechanical sense, but it makes the answer mathematically incomplete, and in a technical interview, omitting it signals that you're treating integration as a formula-retrieval exercise rather than understanding what an antiderivative actually represents.
What This Looks Like in Practice
The last simplification step is minor but worth being deliberate about:
2x^(1/2) + C → 2√x + C
These are identical expressions. x^(1/2) and √x are the same thing. The reason to write the final answer as 2√x + C rather than 2x^(1/2) + C is convention: square root notation is cleaner and more immediately readable. In an interview, saying "two root x plus C" is both correct and natural. Saying "two x to the one-half plus C" is also correct but slightly awkward — it sounds like you stopped one step short of finishing. The clean form is the one that reads as a completed answer.
How to Verify the Answer Instantly Without Overthinking It
The Derivative Check That Should Be Automatic
The fastest way to confirm any antiderivative is to differentiate it and check that you get back the original integrand. For this problem: differentiate 2√x and verify the result is 1/√x. This takes about ten seconds and removes all doubt. More importantly, in an interview setting, volunteering this check signals that you understand the relationship between differentiation and integration — not just that you applied a formula.
What This Looks Like in Practice
Starting from 2x^(1/2):
- Apply the power rule for differentiation: bring the exponent down, multiply it by the coefficient, reduce the exponent by 1.
- d/dx of 2x^(1/2) = 2 · (1/2) · x^(1/2 - 1) = 1 · x^(-1/2) = x^(-1/2)
- Rewrite x^(-1/2) as 1/√x.
That matches the original integrand exactly. The check is clean and takes one line. In a live interview, you can say: "I can verify by differentiating 2 root x — the chain of the power rule gives x to the negative one-half, which is 1 over root x, so the antiderivative is confirmed." That sentence, delivered calmly, closes the loop on the entire problem.
The Domain Question Interviewers Like to Sneak In
Why x = 0 Is Not Something to Hand-Wave Away
The formula 2√x + C is valid, but it carries a quiet assumption: x > 0. The original expression 1/√x requires x to be strictly positive for two reasons — the square root of a negative number is not real, and division by zero is undefined, which rules out x = 0 specifically. On the interval x > 0, the antiderivative is clean and continuous. At x = 0, the original integrand blows up. This matters in practice when someone asks about a definite integral from 0 to some positive value: that integral is improper, and whether it converges requires a limit argument rather than a direct substitution.
What This Looks Like in Practice
The interview-ready version of this discussion sounds like: "The antiderivative 2√x + C holds on x > 0. At x = 0, the original function is undefined because we'd be dividing by zero, so any integral that includes 0 as a bound needs to be treated as an improper integral and evaluated with a limit."
That answer is careful without being defensive. It demonstrates that you know the formula has a domain story attached to it — that you're not just pattern-matching to a result, but actually thinking about where the expression lives. An interviewer who asks about domain restrictions is testing exactly this: whether you treat math as a set of rules to execute or as a description of something that has structure and limits.
FAQ
Q: What is the integral of 1/sqrt(x)?
The integral of 1/√x is 2√x + C. The result follows directly from rewriting 1/√x as x^(-1/2) and applying the power rule for integration. If you can say the rewrite and name the rule, you have the full answer — not just the formula.
Q: How do you rewrite 1/sqrt(x) so the power rule applies?
Write 1/√x as 1/x^(1/2), then move the term out of the denominator by flipping the sign of the exponent: 1/x^(1/2) = x^(-1/2). That single notation move turns a square root fraction into a monomial, and the power rule applies immediately.
Q: Why does the antiderivative become 2sqrt(x)+C?
When you apply the power rule to x^(-1/2), you add 1 to the exponent to get x^(1/2), then divide by that new exponent (1/2). Dividing by 1/2 is multiplying by 2, which produces 2x^(1/2). Rewriting x^(1/2) as √x gives the clean form 2√x, and +C accounts for the family of antiderivatives that all share the same derivative.
Q: How can you check the answer quickly by differentiating it?
Differentiate 2x^(1/2) using the power rule: bring down the exponent (1/2), multiply by the coefficient (2), and reduce the exponent by 1. That gives 2·(1/2)·x^(-1/2) = x^(-1/2) = 1/√x, which matches the original integrand exactly. The check takes one line and gives you immediate confidence in the result during a technical interview.
Q: When is this formula valid, and what domain restrictions matter?
The antiderivative 2√x + C is valid for x > 0. The original expression 1/√x is undefined at x = 0 (division by zero) and requires x to be positive for the square root to be real. Any definite integral with 0 as a lower bound is an improper integral and must be evaluated using a limit, not direct substitution.
Q: What is the most common mistake people make with the exponent rewrite?
The most frequent error is writing x^(1/2) instead of x^(-1/2) when moving the square root out of the denominator. Students correctly identify that √x = x^(1/2) but forget to apply the negative exponent rule that flips the sign when a term moves from denominator to numerator. Integrating x^(1/2) instead of x^(-1/2) gives a completely different answer — (2/3)x^(3/2) + C — so catching this mistake early is essential.
How Verve AI Can Help You Prepare for Your Software Engineer Job Interview
Technical interviews don't just test whether you know the answer — they test whether you can explain it under pressure, handle a follow-up you didn't anticipate, and sound calm while doing it. That's the gap that Verve AI Interview Copilot is built for. During a live interview on Zoom, Google Meet, or Teams, the Interview Copilot listens in real-time and helps you structure your response as the conversation unfolds — so when an interviewer pivots from "what's the antiderivative" to "now walk me through the domain restrictions," you have support in the moment that counts. The desktop app stays invisible during screen share, which means you get real-time guidance without any visible distraction. Before the real thing, Verve AI Interview Copilot also offers separate Mock Interviews where you can run practice sessions on exactly the kind of math and reasoning questions that show up in technical screens — so the twenty-second script you just learned becomes something you can actually say out loud without hesitating.
Conclusion
Go back to that moment — you know the answer, but someone just asked you to explain it, and the silence is stretching a second longer than it should. That moment doesn't go away by memorizing the formula harder. It goes away when you've practiced the sequence enough times that it becomes a spoken thing, not just a written one.
The integral of 1 over square root of x is 2√x + C. The path there is a rewrite, a rule, and a simplification. The proof is a ten-second derivative check. The domain caveat is one sentence. You now have all of it. Say it out loud once — the full twenty-second script from the top of this piece — and notice how different it feels to hear yourself say it cleanly. That's the version that holds up under pressure.
James Miller
Career Coach








