Derivatives · Engineering · Lesson 33

Engineering Maths differentiation: university-style questions, solved.

Short answer

This page has 17 university-style questions for Mumbai University first-year Engineering Mathematics: successive differentiation, Leibniz's theorem, partial differentiation, Euler's theorem, Jacobians, extreme values, series and indeterminate forms. Each is solved in full, and six practice questions follow.

A sample: if \(y = e^{m\sin^{-1}x}\), then \((1 - x^2)y_{n+2} - (2n + 1)x\,y_{n+1} - (n^2 + m^2)y_n = 0\).

Engineering MathsMumbai UniversitySemester I
01

How to use this page

This page is for first-year engineering students at Mumbai University colleges revising the differential calculus part of Engineering Mathematics. The 17 questions are university-style questions written for this page, covering successive differentiation, Leibniz's theorem, partial differentiation, Euler's theorem, Jacobians, extreme values, series expansions and indeterminate forms. Each is solved in full.

Use it after you have learnt the methods, as a final check. Attempt a question, compare your working line by line, and if a step is new to you, open the full lesson for that topic.

Full lessons: successive differentiation, Leibniz's theorem, partial differentiation, Euler's theorem on homogeneous functions, Jacobians, maxima and minima of two variables, Lagrange's multipliers, Taylor and Maclaurin series, L'Hôpital's rule and indeterminate forms.

02

Set A: Successive differentiation and Leibniz's theorem

Example 1: nth derivative of a reciprocal

Easy

Find the \(n\)th derivative of \(y = \dfrac{1}{2x + 3}\).

  1. \(y = (2x + 3)^{-1}\). Then \(y_1 = (-1)(2x + 3)^{-2}\cdot 2\) and \(y_2 = (-1)(-2)(2x + 3)^{-3}\cdot 2^2\).
  2. Each step brings down the next negative integer and another factor 2. The pattern is \(y_n = (-1)^n\,n!\,2^n(2x + 3)^{-(n + 1)}\).

Answer\(y_n = \dfrac{(-1)^n\,n!\,2^n}{(2x + 3)^{n + 1}}\)

Example 2: Partial fractions first

Medium

Find \(y_n\) if \(y = \dfrac{x}{x^2 - 3x + 2}\).

  1. \(x^2 - 3x + 2 = (x - 1)(x - 2)\). Write \(\dfrac{x}{(x - 1)(x - 2)} = \dfrac{A}{x - 1} + \dfrac{B}{x - 2}\).
  2. Cover-up: \(A = \dfrac{1}{1 - 2} = -1\) and \(B = \dfrac{2}{2 - 1} = 2\). So \(y = \dfrac{2}{x - 2} - \dfrac{1}{x - 1}\).
  3. Use \(\dfrac{d^n}{dx^n}\dfrac{1}{x - a} = \dfrac{(-1)^n\,n!}{(x - a)^{n + 1}}\) on each term.

Answer\[y_n = (-1)^n\,n!\left[\frac{2}{(x - 2)^{n + 1}} - \frac{1}{(x - 1)^{n + 1}}\right]\]

Example 3: Exponential times sine

Medium

Find the \(n\)th derivative of \(y = e^{2x}\sin 3x\).

  1. Standard result: \(\dfrac{d^n}{dx^n}\big[e^{ax}\sin(bx + c)\big] = r^n e^{ax}\sin(bx + c + n\phi)\), where \(r = \sqrt{a^2 + b^2}\) and \(\phi = \tan^{-1}\dfrac{b}{a}\).
  2. Here \(a = 2\), \(b = 3\), so \(r = \sqrt{13}\) and \(\phi = \tan^{-1}\dfrac{3}{2}\).

Answer\(y_n = 13^{n/2}\,e^{2x}\sin\left(3x + n\tan^{-1}\dfrac{3}{2}\right)\)

Example 4: Leibniz's theorem directly

Medium

Find the \(n\)th derivative of \(y = x^2e^{3x}\).

  1. Leibniz: \((uv)_n = u_nv + {}^nC_1\,u_{n-1}v_1 + {}^nC_2\,u_{n-2}v_2 + \cdots\). Take \(u = e^{3x}\), \(v = x^2\).
  2. \(v_1 = 2x\), \(v_2 = 2\) and \(v_3 = 0\), so only three terms survive. Also \(u_k = 3^ke^{3x}\).
  3. \(y_n = 3^ne^{3x}x^2 + n\,3^{n-1}e^{3x}(2x) + \dfrac{n(n - 1)}{2}3^{n-2}e^{3x}(2)\).

Answer\(y_n = e^{3x}\big[3^nx^2 + 2n\,3^{n-1}x + n(n - 1)3^{n-2}\big]\)

Example 5: Leibniz recurrence and values at 0

Exam level

If \(y = e^{m\sin^{-1}x}\), prove that \((1 - x^2)y_{n+2} - (2n + 1)x\,y_{n+1} - (n^2 + m^2)y_n = 0\). Hence find \(y_n(0)\) for \(n = 1, 2, 3, 4\).

  1. \(y_1 = \dfrac{my}{\sqrt{1 - x^2}}\). Square: \((1 - x^2)y_1^2 = m^2y^2\).
  2. Differentiate: \((1 - x^2)2y_1y_2 - 2x\,y_1^2 = 2m^2y\,y_1\). Divide by \(2y_1\): \((1 - x^2)y_2 - x\,y_1 - m^2y = 0\).
  3. Differentiate \(n\) times with Leibniz's theorem: \[(1 - x^2)y_{n+2} - 2nx\,y_{n+1} - n(n - 1)y_n - x\,y_{n+1} - n\,y_n - m^2y_n = 0\]
  4. Collect: \(-n(n - 1) - n = -n^2\), which gives the result.
  5. Put \(x = 0\): \(y_{n+2}(0) = (n^2 + m^2)\,y_n(0)\). With \(y(0) = 1\) and \(y_1(0) = m\): \(y_2(0) = m^2\), \(y_3(0) = m(1 + m^2)\), \(y_4(0) = m^2(4 + m^2)\).

Answer\(y_1(0) = m,\ y_2(0) = m^2,\ y_3(0) = m(1 + m^2),\ y_4(0) = m^2(m^2 + 4)\)

03

Set B: Partial differentiation, Euler's theorem and Jacobians

Example 6: Laplace's equation

Easy

If \(u = \log(x^2 + y^2)\), show that \(\dfrac{\partial^2u}{\partial x^2} + \dfrac{\partial^2u}{\partial y^2} = 0\).

  1. \(u_x = \dfrac{2x}{x^2 + y^2}\). Quotient rule: \(u_{xx} = \dfrac{2(x^2 + y^2) - 2x(2x)}{(x^2 + y^2)^2} = \dfrac{2(y^2 - x^2)}{(x^2 + y^2)^2}\).
  2. \(u\) is symmetric in \(x\) and \(y\), so swap them: \(u_{yy} = \dfrac{2(x^2 - y^2)}{(x^2 + y^2)^2}\).
  3. Add: the numerators cancel.

Answer\(u_{xx} + u_{yy} = 0\) ✓

Example 7: A third-order mixed partial

Medium

If \(u = e^{xyz}\), show that \(\dfrac{\partial^3u}{\partial x\,\partial y\,\partial z} = (1 + 3xyz + x^2y^2z^2)\,e^{xyz}\).

  1. \(u_z = xy\,e^{xyz}\).
  2. \(u_{yz} = \dfrac{\partial}{\partial y}\big(xy\,e^{xyz}\big) = x\,e^{xyz} + xy\cdot xz\,e^{xyz} = (x + x^2yz)\,e^{xyz}\).
  3. \(u_{xyz} = (1 + 2xyz)\,e^{xyz} + (x + x^2yz)\,yz\,e^{xyz}\).
  4. Collect: \(1 + 2xyz + xyz + x^2y^2z^2\).

Answer\(u_{xyz} = (1 + 3xyz + x^2y^2z^2)\,e^{xyz}\) ✓

Example 8: Euler's theorem, both orders

Medium

If \(u = \dfrac{x^3 + y^3}{\sqrt x + \sqrt y}\), find \(x u_x + y u_y\) and \(x^2u_{xx} + 2xy\,u_{xy} + y^2u_{yy}\).

  1. The top has degree 3 and the bottom degree \(\tfrac{1}{2}\), so \(u\) is homogeneous of degree \(n = \tfrac{5}{2}\).
  2. Euler: \(x u_x + y u_y = n\,u = \tfrac{5}{2}u\).
  3. Second order: \(x^2u_{xx} + 2xy\,u_{xy} + y^2u_{yy} = n(n - 1)u = \tfrac{5}{2}\cdot\tfrac{3}{2}u\).

Answer\(\tfrac{5}{2}u\) and \(\tfrac{15}{4}u\)

Example 9: Euler's extension

Exam level

If \(u = \tan^{-1}\left(\dfrac{x^3 + y^3}{x + y}\right)\), show that \(x u_x + y u_y = \sin 2u\) and \(x^2u_{xx} + 2xy\,u_{xy} + y^2u_{yy} = \sin 4u - \sin 2u\).

  1. \(u\) is not homogeneous, but \(\tan u = \dfrac{x^3 + y^3}{x + y}\) is, of degree 2. Take \(F(u) = \tan u\), \(n = 2\).
  2. \(x u_x + y u_y = g(u) = n\dfrac{F(u)}{F'(u)} = 2\dfrac{\tan u}{\sec^2 u} = 2\sin u\cos u = \sin 2u\).
  3. Second order: \(g(u)\big[g'(u) - 1\big] = \sin 2u\,(2\cos 2u - 1) = 2\sin 2u\cos 2u - \sin 2u\).
  4. And \(2\sin 2u\cos 2u = \sin 4u\).

Answer\(x u_x + y u_y = \sin 2u\); \(x^2u_{xx} + 2xy\,u_{xy} + y^2u_{yy} = \sin 4u - \sin 2u\)

Example 10: Jacobian and its inverse

Medium

If \(x = u(1 - v)\) and \(y = uv\), find \(J = \dfrac{\partial(x, y)}{\partial(u, v)}\) and \(J' = \dfrac{\partial(u, v)}{\partial(x, y)}\), and verify that \(JJ' = 1\).

  1. \(J = \begin{vmatrix} x_u & x_v \\ y_u & y_v \end{vmatrix} = \begin{vmatrix} 1 - v & -u \\ v & u \end{vmatrix} = u(1 - v) + uv = u\).
  2. Solve for \(u, v\): adding gives \(u = x + y\), so \(v = \dfrac{y}{x + y}\).
  3. \(u_x = u_y = 1\), \(v_x = -\dfrac{y}{(x + y)^2}\), \(v_y = \dfrac{x}{(x + y)^2}\).
  4. \(J' = u_xv_y - u_yv_x = \dfrac{x + y}{(x + y)^2} = \dfrac{1}{x + y} = \dfrac{1}{u}\).

Answer\(J = u\), \(J' = \dfrac{1}{u}\), so \(JJ' = 1\) ✓

Example 11: Functional dependence

Exam level

Show that \(u = \dfrac{x + y}{1 - xy}\) and \(v = \tan^{-1}x + \tan^{-1}y\) are functionally dependent, and find the relation between them.

  1. \(u_x = \dfrac{(1 - xy) + y(x + y)}{(1 - xy)^2} = \dfrac{1 + y^2}{(1 - xy)^2}\). By symmetry \(u_y = \dfrac{1 + x^2}{(1 - xy)^2}\).
  2. \(v_x = \dfrac{1}{1 + x^2}\) and \(v_y = \dfrac{1}{1 + y^2}\).
  3. \(\dfrac{\partial(u, v)}{\partial(x, y)} = u_xv_y - u_yv_x = \dfrac{1}{(1 - xy)^2} - \dfrac{1}{(1 - xy)^2} = 0\). So \(u\) and \(v\) are functionally dependent.
  4. The relation: \(\tan v = \dfrac{\tan(\tan^{-1}x) + \tan(\tan^{-1}y)}{1 - xy} = \dfrac{x + y}{1 - xy} = u\).

AnswerJacobian \(= 0\); the relation is \(u = \tan v\)

04

Set C: Maxima, minima and Lagrange's multipliers

Example 12: Extreme values of f(x, y)

Exam level

Find the extreme values of \(f(x, y) = x^3 + y^3 - 12x - 3y + 20\).

  1. \(f_x = 3x^2 - 12 = 0\) gives \(x = \pm 2\). \(f_y = 3y^2 - 3 = 0\) gives \(y = \pm 1\). Four stationary points.
  2. \(r = f_{xx} = 6x\), \(s = f_{xy} = 0\), \(t = f_{yy} = 6y\), so \(rt - s^2 = 36xy\).
  3. \((2, 1)\): \(rt - s^2 = 72 > 0\) and \(r = 12 > 0\), a minimum. \(f = 8 + 1 - 24 - 3 + 20 = 2\).
  4. \((-2, -1)\): \(rt - s^2 = 72 > 0\) and \(r = -12 < 0\), a maximum. \(f = -8 - 1 + 24 + 3 + 20 = 38\).
  5. \((2, -1)\) and \((-2, 1)\): \(rt - s^2 = -72 < 0\), saddle points.

AnswerMinimum \(2\) at \((2, 1)\); maximum \(38\) at \((-2, -1)\)

Example 13: Lagrange's method

Exam level

Using Lagrange's method, find the minimum value of \(x^2 + y^2 + z^2\) subject to \(2x + 3y + z = 14\).

  1. \(F = x^2 + y^2 + z^2 + \lambda(2x + 3y + z - 14)\).
  2. \(F_x = 2x + 2\lambda = 0\), \(F_y = 2y + 3\lambda = 0\), \(F_z = 2z + \lambda = 0\). So \(x = -\lambda\), \(y = -\tfrac{3}{2}\lambda\), \(z = -\tfrac{1}{2}\lambda\).
  3. Substitute in the constraint: \(-2\lambda - \tfrac{9}{2}\lambda - \tfrac{1}{2}\lambda = -7\lambda = 14\), so \(\lambda = -2\).
  4. Then \((x, y, z) = (2, 3, 1)\) and \(x^2 + y^2 + z^2 = 4 + 9 + 1 = 14\).
  5. Check: the expression is the squared distance from the origin to the plane, which is \(\dfrac{14^2}{2^2 + 3^2 + 1^2} = 14\).

AnswerMinimum value \(14\) at \((2, 3, 1)\)

05

Set D: Taylor and Maclaurin series, indeterminate forms

Example 14: Taylor's series for a polynomial

Easy

Expand \(f(x) = 2x^3 + 7x^2 + x - 6\) in powers of \((x - 2)\).

  1. Taylor: \(f(x) = f(2) + (x - 2)f'(2) + \dfrac{(x - 2)^2}{2!}f''(2) + \dfrac{(x - 2)^3}{3!}f'''(2)\).
  2. \(f(2) = 16 + 28 + 2 - 6 = 40\). \(f'(x) = 6x^2 + 14x + 1\), so \(f'(2) = 53\).
  3. \(f''(x) = 12x + 14\), so \(f''(2) = 38\). \(f'''(x) = 12\).
  4. Coefficients: \(40\), \(53\), \(\dfrac{38}{2} = 19\), \(\dfrac{12}{6} = 2\).

Answer\(f(x) = 40 + 53(x - 2) + 19(x - 2)^2 + 2(x - 2)^3\)

Example 15: Maclaurin's series by substitution

Medium

Expand \(e^{\sin x}\) in powers of \(x\) up to the term in \(x^4\).

  1. Let \(t = \sin x = x - \dfrac{x^3}{6} + \cdots\). Then \(e^t = 1 + t + \dfrac{t^2}{2} + \dfrac{t^3}{6} + \dfrac{t^4}{24} + \cdots\).
  2. Up to \(x^4\): \(t^2 = x^2 - \dfrac{x^4}{3}\), \(t^3 = x^3\), \(t^4 = x^4\).
  3. \(e^{\sin x} = 1 + \left(x - \dfrac{x^3}{6}\right) + \dfrac{1}{2}\left(x^2 - \dfrac{x^4}{3}\right) + \dfrac{x^3}{6} + \dfrac{x^4}{24}\).
  4. The \(x^3\) terms cancel. The \(x^4\) terms give \(-\dfrac{1}{6} + \dfrac{1}{24} = -\dfrac{1}{8}\).

Answer\(e^{\sin x} = 1 + x + \dfrac{x^2}{2} - \dfrac{x^4}{8} + \cdots\)

Example 16: A 0/0 limit

Medium

Evaluate \(\displaystyle\lim_{x \to 0}\frac{e^x - e^{-x} - 2x}{x - \sin x}\).

  1. At \(x = 0\) this is \(\dfrac{0}{0}\). Apply L'Hôpital's rule: \(\dfrac{e^x + e^{-x} - 2}{1 - \cos x}\), still \(\dfrac{0}{0}\).
  2. Again: \(\dfrac{e^x - e^{-x}}{\sin x}\), still \(\dfrac{0}{0}\).
  3. Again: \(\dfrac{e^x + e^{-x}}{\cos x} \to \dfrac{2}{1}\).

AnswerThe limit is \(2\)

Example 17: A 1∞ limit

Exam level

Evaluate \(\displaystyle\lim_{x \to 0}(\cos x)^{1/x^2}\).

  1. The base tends to 1 and the power to \(\infty\): the form \(1^\infty\). Let \(L\) be the limit and take logs.
  2. \(\log L = \displaystyle\lim_{x \to 0}\frac{\log\cos x}{x^2}\), which is \(\dfrac{0}{0}\).
  3. L'Hôpital: \(\displaystyle\lim_{x \to 0}\frac{-\tan x}{2x} = -\frac{1}{2}\).
  4. So \(L = e^{-1/2}\).

Answer\(\displaystyle\lim_{x \to 0}(\cos x)^{1/x^2} = \frac{1}{\sqrt e}\)

Vipul Sir's exam tips

In Leibniz questions, write the second-order equation first and say clearly that you are differentiating it \(n\) times; then put \(x = 0\) only at the end. For Euler's theorem, state the degree and which function is homogeneous before using the formula. For two-variable extremes, make a small table of \(r\), \(s\), \(t\) and \(rt - s^2\) for every stationary point. For limits, name the form (\(\dfrac{0}{0}\), \(1^\infty\), \(\infty - \infty\)) before each step, because L'Hôpital's rule only applies to \(\dfrac{0}{0}\) and \(\dfrac{\infty}{\infty}\).

06

Practice questions

Try each one on paper before you open the answer.

Q1Find the \(n\)th derivative of \(y = \log(ax + b)\).

\(y_1 = \dfrac{a}{ax + b} = a(ax + b)^{-1}\). Differentiating \(n - 1\) more times as in Example 1:

\(y_n = \dfrac{(-1)^{n-1}(n - 1)!\,a^n}{(ax + b)^n}\).

Q2If \(y = (\sin^{-1}x)^2\), prove that, for \(n \ge 1\), \((1 - x^2)y_{n+2} - (2n + 1)x\,y_{n+1} - n^2y_n = 0\).

\(y_1 = \dfrac{2\sin^{-1}x}{\sqrt{1 - x^2}}\), so \((1 - x^2)y_1^2 = 4y\). Differentiate and divide by \(2y_1\): \((1 - x^2)y_2 - x\,y_1 = 2\).

Differentiate \(n\) times by Leibniz: \((1 - x^2)y_{n+2} - 2nx\,y_{n+1} - n(n - 1)y_n - x\,y_{n+1} - n\,y_n = 0\), which simplifies to the result. The right-hand side is 0 because the constant 2 disappears once you differentiate, so \(n\) must be at least 1.

Q3If \(u = x^2 - y^2\) and \(v = 2xy\), find \(\dfrac{\partial(u, v)}{\partial(x, y)}\).

\(\begin{vmatrix} 2x & -2y \\ 2y & 2x \end{vmatrix} = 4x^2 + 4y^2 = 4(x^2 + y^2)\).

Q4If \(u = f(x - y,\ y - z,\ z - x)\), show that \(u_x + u_y + u_z = 0\).

Let \(p = x - y\), \(q = y - z\), \(s = z - x\). Chain rule: \(u_x = f_p - f_s\), \(u_y = -f_p + f_q\), \(u_z = -f_q + f_s\).

Adding, every term cancels.

Q5Evaluate \(\displaystyle\lim_{x \to 0}\left(\frac{1}{x^2} - \frac{1}{\sin^2x}\right)\).

Combine: \(\dfrac{\sin^2x - x^2}{x^2\sin^2x}\). Using \(\sin^2x = x^2 - \dfrac{x^4}{3} + \cdots\), the top is \(-\dfrac{x^4}{3} + \cdots\) and the bottom is \(x^4 + \cdots\).

The limit is \(-\dfrac{1}{3}\).

Q6Find the extreme value of \(f(x, y) = x^2 - xy + y^2 - 3x\).

\(f_x = 2x - y - 3 = 0\) and \(f_y = -x + 2y = 0\) give \((2, 1)\).

\(r = 2\), \(s = -1\), \(t = 2\): \(rt - s^2 = 3 > 0\) and \(r > 0\). Minimum value \(f(2, 1) = 4 - 2 + 1 - 6 = -3\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

07

Frequently asked questions

Is this page enough for the differentiation part of the Mumbai University paper?

It is a revision set, not a full course. It covers the main question types for the differential calculus topics in first-year Engineering Mathematics, but check the current syllabus from your college, and learn each method from the full lessons linked at the top before you use this page.

How do I find the nth derivative of a product?

Use Leibniz's theorem: \((uv)_n = \sum_{r=0}^{n}{}^nC_r\,u_{n-r}v_r\). Choose \(v\) to be the polynomial factor, because its derivatives become zero after a few steps and the sum stops early.

When do I use the extension of Euler's theorem?

When \(u\) itself is not homogeneous but a function of it is, such as \(\sin u\), \(\tan u\) or \(e^u\). If \(F(u)\) is homogeneous of degree \(n\), then \(x u_x + y u_y = n\dfrac{F(u)}{F'(u)}\).

How do I decide between a maximum, a minimum and a saddle point?

At each stationary point find \(r = f_{xx}\), \(s = f_{xy}\) and \(t = f_{yy}\). If \(rt - s^2 > 0\), it is a maximum when \(r < 0\) and a minimum when \(r > 0\). If \(rt - s^2 < 0\), it is a saddle point. If \(rt - s^2 = 0\), the test fails and you need further investigation.

Related lessons

← All derivatives lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Engineering Mathematics

Preparing for your first-year maths paper? Work through it with Vipul Sir.

Concept-first coaching in small batches in Goregaon and Vile Parle, or online, for first-year Engineering students.

WhatsApp↗