Charpit's Method: Pick One Integral, Then Audit Your Answer
Charpit's method finds a complete integral of a nonlinear first-order partial differential equation by choosing one integral of the auxiliary equations, solving for p and q, then integrating dz = p dx + q dy.
By Sunil Bansal, Founder · Updated 2 Nov 2026

Key takeaways
- Charpit's method needs exactly one integral g(x, y, z, p, q) = a of the auxiliary equations, containing p or q; then solve for p and q and integrate dz = p dx + q dy.
- Different valid choices of g give different-looking complete integrals, so test your answer instead of comparing it with the key.
- A complete integral has two constants; a third means the PDE ties one to the others.
- As of November 2026, CSIR NET names Charpit's method in its syllabus; the GATE (Graduate Aptitude Test in Engineering) 2027 syllabus does not.
In this article
- 1What is Charpit's method, and which exams test it?
- 2How do you solve a PDE by Charpit's method, step by step?
- 3Which integral of the auxiliary equations should you choose?
- 4What do three audited examples look like?
- 5Why do answers go wrong, and why can yours differ from the key?
- 6What is the audit checklist to run before you move on?
- 7How can we at SBTech Math help with Charpit's method?
- 8Frequently asked questions
The equation z = pq has two correct complete integrals that look nothing alike: z = (x + a)(y + b), and 4z = (ax + y/a + b)². A student who gets the second while the answer key shows the first has not made a mistake. That is why a mismatch with the answer key is not, by itself, an error.
Charpit's method is a recipe for the complete integral of a nonlinear first-order partial differential equation (PDE). A complete integral is a solution family with two arbitrary constants. The recipe has one real decision, which integral of the auxiliary equations to use. It also has one habit that saves marks, which is substituting your answer back into the PDE.
The method is on the CSIR NET (Council of Scientific and Industrial Research National Eligibility Test) syllabus. Below are the steps, a rule for choosing the integral, three audited examples, and a checklist to run before you move on.
What is Charpit's method, and which exams test it?
Charpit's method finds a complete integral of F(x, y, z, p, q) = 0, where p = ∂z/∂x and q = ∂z/∂y, when F is nonlinear in p and q. As of November 2026, the official CSIR NET Mathematical Sciences syllabus (Parts B and C, Unit 3) lists "Lagrange and Charpit methods for solving first order PDEs, Cauchy problem for first order PDEs" (CSIR-UGC NET syllabus, CSIR HRDG).
For GATE, Section 9 of the 2027 Mathematics (MA) syllabus lists the "method of characteristics for first order linear and quasilinear partial differential equations" (GATE 2027 MA syllabus, IIT Madras). It does not name Charpit's method. If GATE is your only target, spend your time elsewhere. If you are sitting CSIR NET, read on. Our page on what CSIR NET is covers the exam routes.
How do you solve a PDE by Charpit's method, step by step?
Write the PDE as F = 0, find five partial derivatives, form the auxiliary equations, pick one integral, solve for p and q, then integrate. The steps below follow the lecture notes in NPTEL's (National Programme on Technology Enhanced Learning) first-order PDE module and Attila Máté's Brooklyn College note.

- Write F(x, y, z, p, q) = 0
Compute F_x, F_y, F_z, F_p, F_q.
- Write the auxiliary equations
dx/F_p = dy/F_q = dz/(pF_p + qF_q) = dp/−(F_x + pF_z) = dq/−(F_y + qF_z). A zero denominator just means its numerator is zero too.
- Pick one integral g(x, y, z, p, q) = aTake it from these ratios. Use the simplest ratio that gives one. It must contain p or q. You do not need to use all the ratios.
- Solve F = 0 and g = a for p and qSolve the two equations together to get p and q.
- Integrate dz = p dx + q dyThis gives a relation in x, y, z and two constants, a and b.
- Audit itRun the checklist further down.
Some books write the chain with every sign flipped, as dx/−F_p and dp/(F_x + pF_z). The ratios are identical, so both forms give the same integrals. Keep one convention for the whole paper.
Which integral of the auxiliary equations should you choose?
Choose by what F is missing. Look at which of x, y and z the PDE contains. Four patterns, plus a general case, cover the standard types:
| What the PDE looks like | Integral to use | Why |
|---|---|---|
| F has only p and q (no x, y, z) | p = a | F_x = F_y = F_z = 0, so dp = 0 |
| F has no y and no z, F(x, p, q) = 0 | q = a | F_y = F_z = 0, so dq = 0 |
| F has no x and no y, F(z, p, q) = 0 | p = aq | The ratios dp/(−pF_z) and dq/(−qF_z) give dp/p = dq/q |
| F splits as f₁(x, p) = f₂(y, q) | f₁(x, p) = a | The x-ratio and p-ratio combine to d(f₁) = 0 |
| None of these | Look for a ratio that is an exact differential, as in p²x + q²y = z, where p²x = aq²y comes out | Needs a combination of ratios |
The last row is the only one that needs ingenuity. In the NPTEL example p²x + q²y = z, combining the first two ratios and the last two gives p²x = a·q²y. The complete integral is [(1 + a)z]^½ = (ax)^½ + y^½ + b.
What do three audited examples look like?
Each example below is checked by substituting the answer back into its PDE; the residual (left side minus right side) simplifies to 0.
Example 1: pq = xy. Here F = pq − xy, so F_p = q, F_q = p, F_x = −y, F_y = −x, F_z = 0. The chain is dx/q = dy/p = dz/2pq = dp/y = dq/x. Take dx/q = dp/y and use q = xy/p. This gives x dp = p dx, so p = ax. Then q = y/a, and dz = ax dx + (y/a) dy gives z = ax²/2 + y²/(2a) + b.
Residual: with p = ax and q = y/a, pq − xy = xy − xy = 0.
Example 2: z = pq. Here F = z − pq. The chain contains dp/(−p) = dq/(−q), so p = aq. Solving with the PDE gives q = √(z/a) and p = √(az). Then dz/√z = √a dx + dy/√a. Rename the constant (a² for a) to get 4z = (ax + y/a + b)².
A second integral, q = x + a, also comes from the chain, from dx/(−q) = dq/(−q). It gives p = z/(x + a), and then z = (x + a)(y + b). Both answers satisfy z = pq. Both also pass the independence test in the checklist below: ∂(z, p)/∂(a, b) equals y + b for the first and −z for the second, so neither is identically zero.
Residual: for z = (x + a)(y + b), p = y + b and q = x + a, so z − pq = 0. For 4z = (ax + y/a + b)², pq = (ax + y/a + b)²/4 = z, so z − pq = 0.
Example 3: (p² + q²)y = qz. Here F_x = 0, F_y = p² + q², F_z = −q, F_p = 2py, F_q = 2qy − z. The chain gives dp/(pq) = dq/(−p²), so p dp + q dq = 0 and p² + q² = a². The PDE then gives q = a²y/z, and p = (a/z)√(z² − a²y²). Substituting into dz = p dx + q dy gives z dz − a²y dy = a√(z² − a²y²) dx. The left side is ½ d(z² − a²y²), so √(z² − a²y²) = ax + b. The complete integral is z² = a²y² + (ax + b)².
Residual: with q = a²y/z and p = a(ax + b)/z, (p² + q²)y − qz = a²y[(ax + b)² + a²y²]/z² − a²y = a²y − a²y = 0.
Why do answers go wrong, and why can yours differ from the key?
Your answer can differ from the key because you and the book chose different integrals of the auxiliary equations; both can be correct (Example 2). The errors that do cost marks are the three-constant slip and wrongly concluding that no solution fits the boundary data.
The three-constant slip. For p² − q² = 3u (a Math StackExchange question from 2023), the auxiliary equations give p − 3x/2 = a and q + 3y/2 = b. Integrating dz = p dx + q dy then yields u = 3x²/4 + ax − 3y²/4 + by + c. Substituting this three-constant family back into the PDE leaves a residual of a² − b² − 3c. So c is not free: c = (a² − b²)/3. You have two constants, which is correct, but a third constant is a signal that you skipped the substitution.
Expecting the complete integral to fit your boundary data. In that same problem, no member of the family fits u(x, 0) = −x²/4, because 3x²/4 + ax + (a² − b²)/3 cannot equal −x²/4 for all x. The conclusion "there is no solution" is wrong: u = −(x − 2y)²/4 satisfies both the PDE and the condition. A complete integral is a two-constant family of solutions. It need not contain the solution that meets your initial curve. Initial-value problems are handled by the characteristic-strip method, which is the Cauchy problem item in the same syllabus line.
The chain that is hard to integrate. For z² = pqxy (the problem in this Math StackExchange thread), the chain is awkward to integrate, but a short route avoids it. Try z = b·xᵐ·yⁿ. Then p = mz/x, q = nz/y, so pqxy = mn·z². The PDE holds when mn = 1, giving z = b·xᵐ·y^(1/m). This is a complete integral, with two constants m and b.
What is the audit checklist to run before you move on?
Run these five checks on every answer. Each one has a pass and a fail.

- Residual test. Differentiate your answer for p and q, then substitute into F. Pass: you get 0. Fail: any leftover term.
- Constant count. Count independent arbitrary constants. Pass: exactly two. Fail: three or more means one is fixed by the PDE; one means you have not got a complete integral.
Independence test. Compute the three Jacobians ∂(z, p)/∂(a, b), ∂(z, q)/∂(a, b) and ∂(p, q)/∂(a, b), each of the form u_a·v_b − u_b·v_a. Pass: at least one is not identically zero. Fail: all three are identically zero, so a and b are not independent.
- Integral test. Does your chosen g contain p or q, and does it follow from the chain? Pass: yes to both. Fail: an expression in x, y, z only is not a usable g.
- Key comparison. If your answer differs from the key, rename constants and check whether one is a special case of the other. If not, pass both through the residual test. Pass: both give 0. Fail: only if yours does not.
How can we at SBTech Math help with Charpit's method?
Start with the free mathematics PDF drive and demo classes. The CSIR-NET and GATE Mathematics 2027 course costs ₹15,999 as of November 2026, with access through 30 June 2027; a ₹999 Demo Plan gives 10 days of access. The course includes continuous doubt support and weekly doubt sessions or personal mentoring, and enrolled students can bring a PDE they cannot finish. We also offer a Differential Equations course for CSIR NET and GATE.
For questions before you enrol, call +91 81265 45455 (9am to 7pm, Monday to Saturday) or use our contact page.
Get help with Charpit's method from SBTech Math
Frequently asked questions
Sources
- 1.CSIR-UGC NET Mathematical Sciences common syllabus for Parts B and C, CSIR HRDG
- 2.GATE 2027 Mathematics (MA) syllabus, IIT Madras
- 3.Charpit's method to find the complete integral, Attila Máté, Brooklyn College, 14 December 2011
- 4.NPTEL, Module 2, Lecture 5: Compatible Systems and Charpit's Method
- 5.Using Charpit's method to solve a nonlinear PDE, Math StackExchange, April 2023
- 6.Solving the PDE z² = pqxy using Charpit's Method, Math StackExchange, December 2010



