Skip to content
The Chat Archive
gpt-4o-2024-05-13· OpenAI WildChat-4.8M (AI2)

A man’s age is 3 times the sum of ages of his two sons. After 5 years his age will be…

  1. User

    A man’s age is 3 times the sum of ages of his two sons. After 5 years his age will be twice sum of ages of his two sons. find the age of man.

  2. Assistant

    Let's denote:

    • The man's current age as ( M )
    • The current age of the first son as ( S_1 )
    • The current age of the second son as ( S_2 )

    From the problem, we have two key pieces of information:

    1. The man's current age is three times the sum of the ages of his two sons: [ M = 3(S_1 + S_2) ]

    2. After 5 years, the man's age will be twice the sum of the ages of his two sons at that time: [ M + 5 = 2[(S_1 + 5) + (S_2 + 5)] ]

    Let's simplify the second equation step-by-step:

    [ M + 5 = 2[(S_1 + 5) + (S_2 + 5)] ]

    Combine the terms inside the brackets: [ (S_1 + 5) + (S_2 + 5) = S_1 + S_2 + 10 ]

    Thus, the equation becomes: [ M + 5 = 2(S_1 + S_2 + 10) ]

    Distribute the 2: [ M + 5 = 2S_1 + 2S_2 + 20 ]

    Rearrange this equation to isolate ( M ): [ M + 5 = 2(S_1 + S_2) + 20 ] [ M + 5 = 2(S_1 + S_2) + 20 ] [ M = 2(S_1 + S_2) + 15 ]

    Now we have two equations:

    1. ( M = 3(S_1 + S_2) )
    2. ( M = 2(S_1 + S_2) + 15 )

    Since both equations equal ( M ), set them equal to each other: [ 3(S_1 + S_2) = 2(S_1 + S_2) + 15 ]

    To solve for ( S_1 + S_2 ), subtract ( 2(S_1 + S_2) ) from both sides: [ 3(S_1 + S_2) - 2(S_1 + S_2) = 15 ] [ S_1 + S_2 = 15 ]

    Now substitute ( S_1 + S_2 = 15 ) back into the first equation ( M = 3(S_1 + S_2) ): [ M = 3 \times 15 ] [ M = 45 ]

    The man's current age is ( \boxed{45} ).