CAT 2019 Slot 1 Quant Q6

  • Quantitative Aptitude
  • Algebra › Functions
  • Medium
  • Type in the answer (TITA)
  • CAT_2019_SLOT1_QA_Q06

Question 6

For any positive integer nn, let f(n)=n(n+1)f(n)=n(n+1) if nn is even, and f(n)=n+3f(n)=n+3 if nn is odd. If mm is a positive integer such that 8f(m+1)−f(m)=28 f(m+1)-f(m)=2, then mm equals

Type-in-the-answer (TITA) question: no options are given; enter the value.

Answer this question Opens in practice mode, free, no sign-in.

Show answer and solution

Answer:

10

Solution

  • Odd mm gives a quadratic in mm with non-square discriminant (D=177D=177), impossible.

  • Even m  ⟹  m+1m \implies m+1 is odd: f(m+1)=m+4f(m+1) = m+4, f(m)=m(m+1)f(m) = m(m+1).

  • 8(m+4)−m(m+1)=2  ⟹  m2−7m−30=08(m+4) - m(m+1) = 2 \implies m^2 - 7m - 30 = 0.

  • (m−10)(m+3)=0  ⟹  m=10(m-10)(m+3) = 0 \implies m = 10.

Detailed explanation

Concept: Piecewise Functions and Parity Analysis.

  1. Analyze parity for positive integer mm:

    • Case 1: mm is odd

      • Then m+1m+1 is even.

      • f(m)=m+3f(m) = m + 3

      • f(m+1)=(m+1)(m+2)f(m+1) = (m+1)(m+2)

      • Substitute into 8f(m+1)−f(m)=28f(m+1) - f(m) = 2:

        8(m+1)(m+2)−(m+3)=28(m+1)(m+2) - (m+3) = 2

        8(m2+3m+2)−m−3=28(m^2 + 3m + 2) - m - 3 = 2

        8m2+23m+11=08m^2 + 23m + 11 = 0

      • Discriminant D=232−4(8)(11)=529−352=177D = 23^2 - 4(8)(11) = 529 - 352 = 177 is not a perfect square, so there is no integer solution.

    • Case 2: mm is even

      • Then m+1m+1 is odd.

      • f(m)=m(m+1)f(m) = m(m+1)

      • f(m+1)=(m+1)+3=m+4f(m+1) = (m+1) + 3 = m+4

      • Substitute into 8f(m+1)−f(m)=28f(m+1) - f(m) = 2:

        8(m+4)−m(m+1)=28(m+4) - m(m+1) = 2

        8m+32−m2−m=28m + 32 - m^2 - m = 2

        m2−7m−30=0m^2 - 7m - 30 = 0

  2. Factor the quadratic equation:

    (m−10)(m+3)=0(m - 10)(m + 3) = 0

  3. Since mm must be a positive integer, m=10m = 10, which is even and satisfies the parity requirement.

Practise similar questions

Practice 1 CAT_2019_SLOT1_QA_Q06_SQ01

For any positive integer nn, let f(n)=n(n+1)f(n)=n(n+1) if nn is even, and f(n)=n+2f(n)=n+2 if nn is odd. If mm is a positive integer such that 6f(m+1)−f(m)=126 f(m+1)-f(m)=12, then mm equals

Type-in-the-answer (TITA) question: no options are given; enter the value.

Show answer and solution

Answer:

6

Solution

  • Odd m  ⟹  m+1m \implies m+1 is even: 6(m+1)(m+2)−(m+2)=12  ⟹  6m2+17m−2=06(m+1)(m+2) - (m+2) = 12 \implies 6m^2 + 17m - 2 = 0 (D=337D = 337, no integer root).

  • Even m  ⟹  m+1m \implies m+1 is odd: f(m+1)=m+3f(m+1) = m+3 and f(m)=m(m+1)f(m) = m(m+1).

  • Substitute into equation: 6(m+3)−m(m+1)=12  ⟹  m2−5m−6=06(m+3) - m(m+1) = 12 \implies m^2 - 5m - 6 = 0.

  • Factoring gives (m−6)(m+1)=0  ⟹  m=6(m-6)(m+1) = 0 \implies m = 6.

Practice 2 CAT_2019_SLOT1_QA_Q06_SQ02

For any positive integer nn, let f(n)=n(n+1)f(n)=n(n+1) if nn is even, and f(n)=n+1f(n)=n+1 if nn is odd. If mm is a positive integer such that 8f(m+1)−f(m)=88 f(m+1)-f(m)=8, then mm equals

Type-in-the-answer (TITA) question: no options are given; enter the value.

Show answer and solution

Answer:

8

Solution

  • Odd m  ⟹  m+1m \implies m+1 is even: 8(m+1)(m+2)−(m+1)=8  ⟹  8m2+23m+7=08(m+1)(m+2) - (m+1) = 8 \implies 8m^2 + 23m + 7 = 0 (D=305D = 305, no integer root).

  • Even m  ⟹  m+1m \implies m+1 is odd: f(m+1)=m+2f(m+1) = m+2 and f(m)=m(m+1)f(m) = m(m+1).

  • Substitute into equation: 8(m+2)−m(m+1)=8  ⟹  m2−7m−8=08(m+2) - m(m+1) = 8 \implies m^2 - 7m - 8 = 0.

  • Factoring gives (m−8)(m+1)=0  ⟹  m=8(m-8)(m+1) = 0 \implies m = 8.

Functions questions from other CAT papers

  1. CAT 2025 Slot 1 Quant Q3
    Let 3 x 6 and [x^2] = [x]^2 , where [x] is the greatest integer not exceeding x . If set S represents all…
  2. CAT 2025 Slot 2 Quant Q21
    Let f(x) = x(2x-1) and g(x) = x(x-1) . Then, the domain of the function h(x) = f(g(x)) + g(f(x)) is all real…
  3. CAT 2025 Slot 3 Quant Q3
    For real values of x , the range of the function f(x)=2x-3/2x^2+4x-6 is
  4. CAT 2024 Slot 1 Quant Q12
    Consider two sets A = \2, 3, 5, 7, 11, 13\ and B = \1, 8, 27\ . Let f be a function from A to B such that…
  5. CAT 2024 Slot 2 Quant Q9
    A function f maps the set of natural numbers to whole numbers, such that f (xy) = f (x) f (y) + f (x) + f…

Practise this question with timing, notes and your mistake notebook.

Practise in PrepSoc