---
title: Problem set 2
heading: "Problem set 2: rational functions, systems and growth"
eyebrow: A2 · Problem set 2
type: problems
---

::: hook
These problems use lessons 6 to 8: rational functions, pairs of equations, and exponential growth and decay. Most of them come straight from circuits: dividers, parallel resistors, loop currents and capacitors discharging. Each uses your own numbers.
:::

::: pool
pick: 12

::: check
kind: parts
given: R1 = 10k | 22k | 47k; k = 0.25 | 0.4 | 0.6; m = 2 | 5 | 10

## A voltage divider has $R_1$ = {R1} Ω on top and must give $V_{out}/V_{in}$ = {k} with no load.

::: part
answer: k*R1/(1 - k)
unit: Ω

### What should $R_2$ be?

::: misses
- [k*R1] Solve $R_2/(R_1 + R_2) = k$: multiply through by the bottom first.
- [any] $R_2 = kR_1/(1 - k)$.
:::
:::

::: part
answer: (k*R1/(1 - k))*m*(k*R1/(1 - k))/((k*R1/(1 - k)) + m*(k*R1/(1 - k)))/(R1 + (k*R1/(1 - k))*m*(k*R1/(1 - k))/((k*R1/(1 - k)) + m*(k*R1/(1 - k))))
tolerance: 0.5%

### A load equal to {m} times $R_2$ is connected across $R_2$. What is the ratio now?

::: misses
- [k] The load is in parallel with $R_2$, which lowers the bottom resistance. The ratio drops.
- [any] Replace $R_2$ with $R_2$ in parallel with the load, then recompute the ratio.
:::
:::
:::

::: check
kind: parts
given: R1 = 4.7k | 10k | 22k; f = 0.6 | 0.75 | 0.9; let Rt = f*R1

## You need to bring a {R1} Ω resistor down to {Rt} Ω by adding one in parallel.

::: part
answer: Rt*R1/(R1 - Rt)
unit: Ω

### What value do you add?

::: misses
- [R1 - Rt] Parallel resistances don't subtract. Solve $R_1R_2/(R_1 + R_2) = R_t$.
- [any] Multiply through by $R_1 + R_2$ and collect the $R_2$ terms.
:::
:::

::: part
answer: R1/(R1 + Rt*R1/(R1 - Rt))*100
tolerance: 0.5%

### What percent of the total current goes through the added resistor?

::: misses
- [Rt*R1/(R1 - Rt)/(R1 + Rt*R1/(R1 - Rt))*100] That's the share through {R1} Ω. Current favors the smaller resistor.
- [any] In parallel, each branch's share is the other branch's resistance over the sum.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3 | 5; b = 1 | 4; c = 1 | 4; d = 3 | 6

## $H(x) = \dfrac{\given{a}x + \given{b}}{\given{c}x - \given{d}}$.

::: part
answer: d/c
tolerance: 0.5%

### Where is its vertical asymptote?

::: misses
- [-b/a] That's where $H$ is zero.
- [-d/c] Solve $\given{c}x - \given{d} = 0$.
- [any] Where is the bottom zero?
:::
:::

::: part
answer: a/c
tolerance: 0.5%

### What does it approach for large $x$?

::: misses
- [0] Same degree top and bottom: ratio of leading coefficients.
- [c/a] Top over bottom.
- [any] Ratio of the $x$ coefficients.
:::
:::

::: part
answer: -b/a
tolerance: 0.5%

### Where does it cross the horizontal axis?

::: misses
- [b/a] Solve $\given{a}x + \given{b} = 0$.
- [d/c] That's the asymptote.
- [any] Where is the top zero?
:::
:::
:::

::: check
kind: parts
given: R1 = 2 | 4; R2 = 1 | 3; R3 = 5 | 6; V1 = 10 | 12; V2 = 4 | 6

## Loop analysis gives $(\given{R1} + \given{R2})I_1 - \given{R2}I_2 = \given{V1}$ and $-\given{R2}I_1 + (\given{R2} + \given{R3})I_2 = \given{V2}$, in ohms and volts.

::: part
answer: (V1*(R2 + R3) + R2*V2)/((R1 + R2)*(R2 + R3) - R2^2)
unit: A

### What is $I_1$?

::: misses
- [V1/(R1 + R2)] That ignores $I_2$. The loops share {R2} Ω.
- [any] Cramer's rule: the determinant is $(R_1 + R_2)(R_2 + R_3) - R_2^2$.
:::
:::

::: part
answer: ((R1 + R2)*V2 + R2*V1)/((R1 + R2)*(R2 + R3) - R2^2)
unit: A

### What is $I_2$?

::: misses
- [V2/(R2 + R3)] That ignores $I_1$.
- [any] Cramer's rule, or put $I_1$ back into one equation.
:::
:::

::: part
answer: (V1*(R2 + R3) + R2*V2)/((R1 + R2)*(R2 + R3) - R2^2) - ((R1 + R2)*V2 + R2*V1)/((R1 + R2)*(R2 + R3) - R2^2)
unit: A

### The shared resistor carries $I_1 - I_2$. What is it?

::: misses
- [any] Subtract your two answers.
:::
:::
:::

::: check
kind: parts
given: Ra = 3 | 4 | 6; Rb = 10 | 12 | 15; let S = Ra + Rb; let P = Ra*Rb/(Ra + Rb)

## Two resistors make {S} Ω in series and {P} Ω in parallel.

::: part
answer: Rb
unit: Ω

### What is the larger one?

::: misses
- [Ra] That's the smaller one.
- [S/2] That's the average. Set up $R_1 + R_2 = \given{S}$ and $R_1R_2 = \given{P} \times \given{S}$.
- [any] They're the roots of $x^2 - \given{S}x + \given{P}\cdot\given{S} = 0$.
:::
:::

::: part
answer: Ra
unit: Ω

### And the smaller?

::: misses
- [Rb] That's the larger one.
- [any] Subtract the larger from {S}.
:::
:::
:::

::: check
kind: parts
given: V0 = 5 | 12 | 48; tau = 2 | 10 | 47; t = 5 | 20 | 60; f = 0.2 | 0.05

## A capacitor discharges from {V0} V with $\tau$ = {tau} ms.

::: part
answer: V0*exp(-t/tau)
unit: V

### What is its voltage after {t} ms?

::: misses
- [V0*(1 - exp(-t/tau))] That's charging. Discharging is $V_0e^{-t/\tau}$.
- [V0*exp(-tau/t)] The exponent is $-t/\tau$.
- [any] $V_0e^{-t/\tau}$.
:::
:::

::: part
answer: -tau*ln(f)
tolerance: 0.5%

### After how many milliseconds is it down to {f} of its start?

::: misses
- [tau*ln(f)] That's negative. $t = \tau\ln(1/f)$.
- [tau/f] Solve $e^{-t/\tau} = f$ with a logarithm.
- [any] $t = \tau\ln(1/\given{f})$.
:::
:::
:::

::: check
kind: parts
given: th = 5 | 12 | 30; t = 20 | 60

## A signal decays exponentially, halving every {th} ms.

::: part
answer: th/ln(2)
unit: ms
tolerance: 0.5%

### What is its time constant, in ms?

::: misses
- [th*ln(2)] Halving takes $\tau\ln 2$, so $\tau = t_{1/2}/\ln 2$.
- [th/2] Solve $e^{-t/\tau} = 1/2$.
- [any] $\tau = t_{1/2}/\ln 2$.
:::
:::

::: part
answer: 100*0.5^(t/th)
tolerance: 0.5%

### What percent is left after {t} ms?

::: misses
- [100*(1 - t/th/2)] Each half-life halves what's left: multiply by 0.5 per half-life.
- [any] $100 \times 0.5^{t/t_{1/2}}$.
:::
:::
:::

::: check
kind: parts
given: p = 5 | 7 | 10; N0 = 100 | 1000; T = 10 | 25

## A count grows by {p}% each year.

::: part
answer: ln(2)/ln(1 + p/100)
tolerance: 0.5%

### How many years does it take to double?

::: misses
- [100/p] That's for adding {p}% of the original each year. Growth compounds.
- [70/p] That's the rule of 70, a good estimate. Work it out exactly with logarithms.
- [any] Solve $(1 + \given{p}/100)^t = 2$.
:::
:::

::: part
answer: N0*(1 + p/100)^T
tolerance: 0.5%

### Starting at {N0}, what is it after {T} years?

::: misses
- [N0*(1 + p*T/100)] That's simple growth. Each year multiplies by $1 + \given{p}/100$.
- [any] $N_0(1 + p/100)^T$.
:::
:::
:::

::: check
kind: parts
given: E1 = 12.6 | 13; E2 = 11.8 | 12; r1 = 0.02 | 0.05; r2 = 0.08 | 0.1

## Two batteries are connected in parallel with nothing else: {E1} V with {r1} Ω inside, and {E2} V with {r2} Ω.

::: part
answer: (E1 - E2)/(r1 + r2)
unit: A

### What current flows from the first into the second?

::: misses
- [(E1 - E2)/r1] Both internal resistances are in the loop.
- [E1/r1] Only the difference in voltage drives current round the loop.
- [any] The loop: $E_1 - r_1I = E_2 + r_2I$.
:::
:::

::: part
answer: E1 - r1*(E1 - E2)/(r1 + r2)
unit: V
tolerance: 0.1%

### What voltage do both terminals sit at?

::: misses
- [(E1 + E2)/2] That's only right if the internal resistances are equal.
- [any] $E_1 - r_1I$.
:::
:::
:::

::: check
kind: parts
given: r = 0.5 | 2 | 4; e = 80 | 90 | 95

## A source with {r} Ω inside drives a load $R$. The fraction of the power that reaches the load is $\eta = \dfrac{R}{R + r}$.

::: part
answer: 50
tolerance: 0.5%

### What percent reaches the load when $R$ = {r} Ω?

::: misses
- [100] Half the power is lost inside the source.
- [any] Put $R = r$ into $R/(R + r)$.
:::
:::

::: part
answer: e*r/(100 - e)
unit: Ω

### What load gives {e}%?

::: misses
- [e*r/100] Solve $R/(R + r) = \given{e}/100$: multiply through by the bottom.
- [any] $R = \eta r/(1 - \eta)$.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 5; k = 0.1 | 0.3 | 0.7; t1 = 2 | 4; let y1 = A*exp(k*t1)

## A quantity follows $y = Ae^{kt}$. It reads {A} at $t = 0$ and {y1} at $t$ = {t1} s.

::: part
answer: k
tolerance: 0.5%

### What is $k$, per second?

::: misses
- [(y1 - A)/t1] That's the average rate of change. $k$ comes from a logarithm.
- [ln(y1)/t1] Divide by $A$ first.
- [any] $k = \ln(y_1/A)/t_1$.
:::
:::

::: part
answer: ln(2)/k
tolerance: 0.5%

### How long does it take to double?

::: misses
- [k*ln(2)] Solve $e^{kt} = 2$ for $t$.
- [any] $t = \ln 2/k$.
:::
:::
:::

::: check
kind: parts
given: x0 = 2..5 int; y0 = -2..1 int; a = 3 | 4; b = 2 | 5; c = 1 | 2; d = 3 | 6; let e = a*x0 + b*y0; let f = c*x0 - d*y0

## Solve $\given{a}x + \given{b}y = \given{e}$ and $\given{c}x - \given{d}y = \given{f}$.

::: part
answer: a*(-d) - b*c
tolerance: 0.01

### What is the determinant?

::: misses
- [a*d - b*c] The second equation's $y$ coefficient is $-\given{d}$.
- [any] $ad - bc$, with $d = -\given{d}$.
:::
:::

::: part
answer: x0
tolerance: 0.01

### What is $x$?

::: misses
- [y0] That's $y$.
- [any] Eliminate $y$.
:::
:::

::: part
answer: y0
tolerance: 0.01

### What is $y$?

::: misses
- [x0] That's $x$.
- [any] Put $x$ back into either equation.
:::
:::
:::

::: check
kind: parts
given: E = 5 | 9 | 12; r = 10 | 50; R1 = 100 | 220; R2 = 1000 | 470; let V1 = E*R1/(R1 + r); let V2 = E*R2/(R2 + r)

## A sealed box acts like a source $E$ in series with a resistance $r$. It gives {V1} V into a {R1} Ω load and {V2} V into a {R2} Ω load.

::: part
answer: r
unit: Ω
tolerance: 1%

### What is $r$?

::: misses
- [any] Each reading gives $V(R + r) = ER$. That's two equations, linear in $E$ and $r$. Eliminate $E$.
:::
:::

::: part
answer: E
unit: V
tolerance: 1%

### What is $E$?

::: misses
- [any] Put $r$ back into either equation.
:::
:::

::: part
answer: E/r
unit: A
tolerance: 1%

### What current would flow if the box's terminals were shorted?

::: misses
- [any] With no load, only $r$ limits the current.
:::
:::
:::

::: check
kind: parts
given: B = 0.01 | 0.05 | 0.1; A = 1000 | 10000 | 100000

## An amplifier with open-loop gain $A$ and feedback fraction $\beta$ has closed-loop gain $G(A) = \dfrac{A}{1 + A\beta}$. Here $\beta$ = {B}.

::: part
answer: A/(1 + A*B)
tolerance: 0.5%

### What is $G$ when $A$ = {A}?

::: misses
- [any] Put the numbers into $A/(1 + A\beta)$.
:::
:::

::: part
answer: 1/B
tolerance: 0.5%

### What value does $G$ approach as $A$ grows without limit?

::: misses
- [B] Upside down. Divide the top and bottom by $A$.
- [any] The horizontal asymptote: divide the top and bottom by $A$.
:::
:::

::: part
answer: 999/B
tolerance: 0.5%

### How large must $A$ be for $G$ to come within 0.1% of that limit?

::: misses
- [any] $G\beta = \frac{A\beta}{1 + A\beta}$; set it to 0.999.
:::
:::
:::

::: check
kind: parts
given: N0 = 500 | 1000 | 2000; T = 2 | 2.5 | 3; n = 7 | 10

## A company's largest chip had {N0} million transistors in 2010, and the count doubles every {T} years.

::: part
answer: N0*2^(n/T)
tolerance: 0.5%

### How many million transistors does it have {n} years later?

::: misses
- [N0*2*n/T] Doubling compounds: each doubling multiplies what's already there.
- [any] There are $\given{n}/\given{T}$ doublings.
:::
:::

::: part
answer: T*ln(1000)/ln(2)
tolerance: 0.5%

### How many years does it take to grow a thousandfold?

::: misses
- [T*1000/2] Count doublings: $2^k = 1000$.
- [any] $2^k = 1000$ gives $k = \log_2 1000$ doublings, each {T} years.
:::
:::

::: part
answer: 100*(2^(1/T) - 1)
tolerance: 0.5%

### What steady yearly growth, in percent, is that?

::: misses
- [100/T] That's half a doubling's worth spread evenly. Growth compounds, so it's less.
- [any] Find the yearly factor whose {T}th power is 2.
:::
:::
:::
:::
